<%@ page language="java" pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>

<html>
	<head>
		<title>显示盘口页面</title>
		<meta http-equiv="pragma" content="no-cache">
		<meta http-equiv="cache-control" content="no-cache">
		<meta http-equiv="expires" content="0">
		<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
		<meta http-equiv="description" content="This is my page">
		<link type="text/css" href="${ctx}/css/jquery.ui.all.css" rel="stylesheet" />
		<link type="text/css" href="${ctx}/css/demos.css" rel="stylesheet" />
		<script type="text/javascript" src="${ctx}/js/jquery.js"></script>
		<script type="text/javascript" src="${ctx}/js/jquery.ui.core.js"></script>
		<script type="text/javascript" src="${ctx}/js/jquery.ui.widget.js"></script>
		<script type="text/javascript" src="${ctx}/js/jquery.ui.accordion.js"></script>
		<script type="text/javascript">
		$(function() {
			$("#accordion").accordion();
		});
		</script>
	</head>

	<body>
		<div id="accordion">
			<h3><a href="#">比赛信息：</a></h3>
			<div>
				<table width="100%" border="1" align="center" cellpadding="1" cellspacing="1">
				  <tr>
				  	<td><strong>联赛名称：</strong></td>
				    <td><strong>主队：</strong></td>
				    <td><strong>比分：</strong></td>
				    <td><strong>客队：</strong></td>
				    <td><strong>比赛日期：</strong></td>
				  </tr>
				  <c:forEach items="${matchHistoryList}" var="matchHistory" varStatus="status">
				  <tr>
				  	<td>${matchHistory.dqLeagues.lgNameSc }</td>
				    <td>${matchHistory.dqClubsByHomeClbId.clbSc }</td>
				    <td>${matchHistory.homeScore } : ${matchHistory.awayScore }</td>
				    <td>${matchHistory.dqClubsByAwayClbId.clbSc }</td>
				    <td>${matchHistory.matchDate }</td>
				  </tr>
				  </c:forEach>
				</table>
			</div>
		
			<h3><a href="#">盘口信息：</a></h3>
			<div>
				<table width="100%" border="1" align="center" cellpadding="1" cellspacing="1">
				  <tr>
				    <td><strong>公司：</strong></td>
				    <td><strong>主队：</strong></td>
				    <td><strong>主队水率：</strong></td>
				    <td><strong>盘口：</strong></td>
				    <td><strong>客队：</strong></td>
				    <td><strong>客队水率：</strong></td>
				    <td><strong>更新时间：</strong></td>
				  </tr>
				  <c:forEach items="${handicapHistList}" var="handicapHist" varStatus="status">
				  <tr>
				    <td>${handicapHist.dqBetCompany.cmpyNameSc }</td>
				    <td>${handicapHist.dqMatchHist.dqClubsByHomeClbId.clbSc }</td>
				    <td>${handicapHist.homeClbRate }</td>
				    <td>${handicapHist.dqHandicapType.description }</td>
				    <td>${handicapHist.dqMatchHist.dqClubsByAwayClbId.clbSc }</td>
				    <td>${handicapHist.awayClbRate }</td>
				    <td>${handicapHist.updatedDt }</td>
				  </tr>
				  </c:forEach>
				</table>
			</div>
			<p>&nbsp;</p>
		</div>
	</body>
</html>
